﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ModelLayer
{
    public class Customer
    {
        private int _id;
        private string _name;
        private string _address;
        private int _zipCode;
        private string _city;
        private string _email;
        private string _password;
        private string _creditCardType;
        private int _cardNumber;
        private int _expiryMonth;
        private int _expiryYear;
        private int _cvc;
        private IList<Subscription> subscriptions;

        public Customer(int id, string name, string email, string password)
        {
            this._id = id;
            this._name = name;
            this._email = email;
            this._password = password;
        }

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        public int ZipCode
        {
            get { return _zipCode; }
            set { _zipCode = value; }
        }

        public string City
        {
            get { return _city; }
            set { _city = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public string CreditCardType
        {
            get { return _creditCardType; }
            set { _creditCardType = value; }
        }
        
        public int CardNumber
        {
            get { return _cardNumber; }
            set { _cardNumber = value; }
        }

        public int ExpiryMonth
        {
            get { return _expiryMonth; }
            set { _expiryMonth = value; }
        }

        public int ExpiryYear
        {
            get { return _expiryYear; }
            set { _expiryYear = value; }
        }

        public int CvcNumber
        {
            get { return _cvc; }
            set { _cvc = value; }
        }
    }
}
